

const {ccclass, property} = cc._decorator;

@ccclass
export default class AboutUsDialog extends cc.Component {

    start () {
        let blockNode = this.node.getChildByName("block")
        blockNode && (
            blockNode.on(cc.Node.EventType.TOUCH_END, ()=>{
                this.node.destroy();
            })
        )
    }

}
